<!--20210304    zaq    创建vue文件,导入子组件-->








<template>
<!--说说主页导航-->

  <div class="my-text">
    <el-tabs type="border-card"
             style="height: 100%;
             background-color: rgba(255,255,255,0.2);
             padding: 0;margin: 0;"

    >
      <el-tab-pane label="主页">
        <div>
          <!--        说说主页-->
          <!--        显示当天的说说-->
          <my-text></my-text>

          <!--        发表说说-->
<!--          <footer>-->
<!--            <insert-text-default></insert-text-default>-->
<!--          </footer>-->

        </div>
  </el-tab-pane>


<!--      <el-tab-pane label="查询">-->
<!--&lt;!&ndash;        查询说说&ndash;&gt;-->
<!--        <my-text></my-text>-->
<!--      </el-tab-pane>-->
    </el-tabs>
  </div>
</template>

<script>
import insert_text_default from "../../components/text/Insert_text_default";
import reply_text from "../../components/text/Reply_text";
import my_text from "../../components/text/Texts";
export default {
  name: "Text",
  components:{
    'insert-text-default':insert_text_default,//发布一条说说
    'reply-text':reply_text,//回复一条说说
    'my-text':my_text,//说说列表
  }
}
</script>

<style scoped>
.my-text{
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.2);
  vertical-align: center;
  float: right;
  padding: 0;
  margin: 0;
  position: absolute;
}
</style>